import { $t } from "@/plugins/i18n";

const Layout = () => import("@/layout/index.vue");
// 最简代码，也就是这些字段必须有
export default {
  path: "/category",
  redirect: "/category/index",
  component: Layout,
  showLink: false,
  meta: {
    title: "分类管理",
    rank: 4,
    icon: "tabler:category-filled"
  },
  children: [
    {
      path: "/category/index",
      name: "Category",
      component: () => import("@/views/category/index.vue"),
      meta: {
        title: "分类管理",
        showLink: false
      }
    }
  ]
};
